.container {
  padding-bottom: env(safe-area-inset-bottom);
  background-color: #fff;

  .topic-container {
    // padding: 0 0 120rpx;
    // min-height: calc(100vh - 200rpx);

    .question {
      height: calc(100vh - 112rpx - env(safe-area-inset-bottom));
      // display: flex;
      // flex-direction: column;

      .content-info-hide {
        padding: 20rpx;
      }

      .topic-tit,
      .answer-tit {
        margin: 10rpx 20rpx;
        padding: 5rpx 20rpx;
        display: inline-block;
        background-color: #f9906f;
        border-radius: 20rpx;
        color: #fff;
      }

      .answer-tit {
        background-color: #44cef6;
      }

      .topic-con,
      .answer-con {
        // text-align: justify;

        word-break: break-all;
        // word-wrap: break-word;
      }

      .topic {
        // padding: 0 10rpx;
        min-height: 50rpx;
        // font-size: 32rpx;
        line-height: 50rpx;
        border-radius: 10rpx;
      }

      .answer {
        flex: 1;
        // font-size: 32rpx;
        line-height: 50rpx;
      }
    }
  }

  .check-answer {
    padding: 10rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: calc(200rpx + env(safe-area-inset-bottom));
    right: 20rpx;
    color: #fff;
    width: 80rpx;
    height: 80rpx;
    font-size: 30rpx;
    line-height: 30rpx;
    text-align: center;
    border-radius: 50%;
    // background-color: rgba(243, 104, 56, .7);
    background-color: #f36838;
  }

  .hidden {
    animation: hidden 1.5s forwards;
  }

  .show {
    animation: show 1.5s forwards;
  }

  .bottom-tools {
    padding: 0 20rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: env(safe-area-inset-bottom);
    left: 0;
    width: 100%;
    height: 112rpx;
    box-sizing: border-box;
    background-color: #fff;
    // border-top: 1px solid #f1f1f1;

    .handle-btn {
      position: absolute;
      left: 50%;
      top: 20rpx;
      transform: translateX(-50%);
      display: flex;
      align-items: center;

      .btn {
        margin: 0 10rpx;
        padding: 10rpx 20rpx;
        // display: flex;
        // align-items: center;
        // justify-content: center;
        font-size: 28rpx;
        color: #f36838;
        background-color: transparent;
        border: 1px solid #f36838;
        border-radius: 10rpx;
      }
    }
  }

  .i-drawer-mask {
    position: relative;
  }

  .catalogue-container {
    width: 100vw;
    height: 100vh;
    background-color: #fff;

    .drawer-title {
      width: 100%;
      height: 80rpx;
      font-size: 34rpx;
      line-height: 80rpx;
      text-align: center;
    }

    .catalogue-list {
      color: #252525;
      height: 100%;
      // height: calc(100% - env(safe-area-inset-bottom));

      .list {
        margin: 20rpx 20rpx 0rpx;
        padding: 20rpx 20rpx;
        // height: 60rpx;
        font-size: 30rpx;
        // line-height: 60rpx;
        // white-space: nowrap;
        // overflow: hidden;
        // text-overflow: ellipsis;
        border-radius: 20rpx;
        background-color: #fff;
        box-shadow: 0rpx 16rpx 26rpx -4rpx rgba(0, 0, 0, 0.1);
      }

      .active {
        color: #fff;
        background-color: #f36838;
      }
    }
  }

  .drawer-tools {
    position: absolute;
    right: 10rpx;
    bottom: calc(env(safe-area-inset-bottom) + 20rpx);

    .gotop,
    .close {
      margin: 0 10rpx 10rpx 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 80rpx;
      height: 80rpx;
      border-radius: 50%;
      background-color: #f36838;
    }
  }

  .page-container {
    // width: 50vw;
    height: 100vh;
    background-color: #fff;

    .right-page-list {
      padding: 10rpx 10rpx calc(10rpx + env(safe-area-inset-bottom));
      width: 100%;
      // height: 100%;
      // display: flex;
      // flex-wrap: wrap;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;

      box-sizing: border-box;
    }

    .right-page-item {
      margin: 10rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      // margin-right: 20rpx;
      width: 60rpx;
      height: 60rpx;
      color: #252525;
      font-size: 30rpx;
      border: 1px solid #252525;
      border-radius: 50%;
    }

    .active {
      color: #fff;
      background-color: #f36838;
      border-color: #f36838;
    }
  }
}

@keyframes hidden {
  0% {
    right: 20rpx;
    opacity: 1;
  }

  100% {
    right: -50rpx;
    opacity: .7;
  }

}

@keyframes show {
  0% {
    right: -50rpx;
    opacity: .7;
  }

  100% {
    right: 20rpx;
    opacity: 1;
  }

}